﻿using System.IO;
using System.Threading;
using System.Threading.Tasks;
using K9Nano.LayIM.Models;

namespace K9Nano.LayIM.Stores
{
    public interface IFileStore
    {
        Task<string> SaveAsync(string name, Stream stream, CancellationToken cancellation);

        Task<LayIMFile> GetAsync(string id, CancellationToken cancellation);

        Task DeleteAsync(string id);
    }
}